export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "addBtn": false,
  delBtn: false,
  editBtn: false,
  selection: true,
  // selectable: row => {
  //   return row.submitStatus == '0'
  // },
  searchMenuSpan: 6,
  height: 450,
  "column": [
	  {
      "type": "input",
      "label": "唯一标识",
      "prop": "id",
      "hide": true,
      "display": false
    },	  {
      "type": "input",
      "label": "线路编码",
      "prop": "lineCode",
      "hide": true,
      "display": false
    },	  {
      "type": "input",
      "label": "车站编码",
      "prop": "stationCode",
      "hide": true,
      "display": false
    },	  {
      "type": "date",
      "label": "收入日期",
      "search": true,
      "prop": "workDate",
      "format": 'yyyy-MM-dd',
      "valueFormat": 'yyyy-MM-dd',
      searchLabelWidth: 100,
      width: 100
    }, {
      label: '班次',
      prop: 'classNumber',
      type: 'select',
      dicUrl: '/admin/dict/type/stm_conductor_shift'
    },{
      label: "售票员",
      prop: "conductorName",
      type: "select",
      component: "user-select",
      params: {
        belongToStation: true,
        userCodeKey: "conductorCode",
        operateNo: "deviceOperateNum"
        // TODO 过滤售票员
      },
      search: true,
      rules: [
        {
          required: true,
          message: "请选择售票员"
        }
      ]
    }, {
      label: '员工号',
      prop: 'conductorCode',
    },	  {
      "type": "select",
      "label": "状态",
      "prop": "submitStatus",
      dicUrl: '/admin/dict/type/submit_status',
      search: true,
      searchValue:'0'
    },
    {
      type: "select",
      label: "确认状态",
      prop: "confirmStatus",
      dicData: [
        {
          label: "未确认",
          value: "0"
        },
        {
          label: "已确认",
          value: "1"
        }
      ],
      search: true,
      display: false
    }, 		{
      width: 120,
      hide: false,
      label: '是否加入报表差错',
      prop: 'isAddReprotError',
      type:'select',
      dicData: [{
        label: '是',
        value: '1'
      },{
        label: '否',
        value: '0'
      }],
    }, {
      width: 120,
      hide: false,
      label: '报表修改状态',
	  labelWidth: 120,
      prop: 'reportModifyStatus',
      type:'select',
      search: true,
	  searchLabelWidth: 100,
      dicData: [{
        label: '修改中',
        value: '1'
      },{
        label: '已完成',
        value: '0'
      }]
    }, {
      "type": "input",
      "label": "备注",
      "prop": "remark",
      width: 150
    },	  {
      "type": "input",
      "label": "部门ID",
      "prop": "deptId",
      "hide": true,
      "display": false
    },	  {
      "type": "input",
      "label": "创建人ID",
      "prop": "creatorId",
      "hide": true,
      "display": false
    },	  {
      "type": "input",
      "label": "创建人名称",
      "prop": "creatorName",
      "hide": true,
      "display": false
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      "hide": true,
      "display": false
    },	  {
      "type": "input",
      "label": "修改时间",
      "prop": "updateTime",
      "hide": true,
      "display": false
    }]
}
